/*
 * AgentResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/** 求购 */
public class AskToBuyInfoResponse extends PagerResponse {

    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("count")
        private int count;

        @SerializedName("want_buy_list")
        private List<WantBuyListBean> wantBuyList;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<WantBuyListBean> getWantBuyList() {
            return wantBuyList;
        }

        public void setWantBuyList(List<WantBuyListBean> wantBuyList) {
            this.wantBuyList = wantBuyList;
        }

        public static class WantBuyListBean {
            @SerializedName("want_id")
            private String wantId;
            @SerializedName("sex")
            private String sex;
            @SerializedName("dp_name")
            private String dpName;
            @SerializedName("desc")
            private String desc;
            @SerializedName("add_time")
            private int addTime;
            @SerializedName("offer_count")
            private int offerCount;
            @SerializedName("plus_offer_count")
            private int plusOfferCount;
            @SerializedName("showTime")
            private boolean showTime;
            @SerializedName("pictures")
            private List<String> pictures;
            @SerializedName("apply_succ")
            private String applySucc;

            @SerializedName("number")
            private String number;
            @SerializedName("unit")
            private String unit;

            public boolean isShowTime() {
                return showTime;
            }

            public void setShowTime(boolean showTime) {
                this.showTime = showTime;
            }

            public String getWantId() {
                return wantId;
            }

            public void setWantId(String wantId) {
                this.wantId = wantId;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getDpName() {
                return dpName;
            }

            public void setDpName(String dpName) {
                this.dpName = dpName;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public int getAddTime() {
                return addTime;
            }

            public void setAddTime(int addTime) {
                this.addTime = addTime;
            }

            public int getOfferCount() {
                return offerCount;
            }

            public void setOfferCount(int offerCount) {
                this.offerCount = offerCount;
            }

            public int getPlusOfferCount() {
                return plusOfferCount;
            }

            public void setPlusOfferCount(int plusOfferCount) {
                this.plusOfferCount = plusOfferCount;
            }

            public List<String> getPictures() {
                return pictures;
            }

            public void setPictures(List<String> pictures) {
                this.pictures = pictures;
            }

            public String getApplySucc() {
                return applySucc;
            }

            public void setApplySucc(String applySucc) {
                this.applySucc = applySucc;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }
    }
}
